<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <title>吃鸡竞技管理系统</title>
    <%@ include file="/view/common/tags.jsp"%>
    <meta name="keywords" content="吃鸡竞技管理系统" />
    <meta name="description" content="吃鸡竞技管理系统" />
   <link href="${sysManagerV1}/content/ui/css/layout.css" rel="stylesheet" />
   <link href="${sysManagerV1}/content/ui/css/login.css" rel="stylesheet"/>
   <link href="${sysManagerV1}/content/ui/css/supersized.css" rel="stylesheet"/>
   <link href="${sysManagerV1}/content/ui/css/animate.css" rel="stylesheet"/>
</head>
<body class="login-bg">
   <div class="container">
        <!--登录-->
                 <form class="login-form animated bounceInDown" action="${sysManagerV1}/memberLogin" method="post" autocomplete="off" target="_parent">
                     <input type="hidden" id="hardCode" name="hardCode" value=""/>
                     <div class="form-signin-heading text-center">
                     <h1 class="sign-title">吃鸡竞技管理系统</h1>
                   </div>
                    <div class="login-wrap" id="box">
                             <div class="login-form-row">
                                <label>帐号</label>
                                <div class="input-box">
                                <input type="text"  id="username" name="username" placeholder="请输入帐号" class=" login-input"  autocomplete="off"/>
                                </div>
                             </div>
                             <div class="login-form-row">
                                <label >密码</label>
                                <div class="input-box">
                                <input type="password"  id="password" name="password" placeholder="请输入密码" class=" login-input" autocomplete="off"/>
                                </div>
                             </div>
                             <!-- <div class="login-form-row">
                                <label >帐号:admin 密码:666666</label>
                                <span id="sss"></span><%=request.getAttribute("systemType")%>
                             </div> -->
                            <input type="submit" class="btn text-center " value="立即登录" />
                    </div>
                </form> 
        <div class="footer text-center text-small ie">
            Copyright 2018测试版  <a href="#" target="_blank">吃鸡竞技管理系统</a>
            <script src="#" language="JavaScript"></script>
        </div>
        <div class="popupDom">
            <div class="popup text-default">
            </div>
        </div>
   </div>
</body>

<script src="${sysManagerV1}/content/ui/global/jQuery/jquery.min.js"></script>
<script src="${sysManagerV1}/content/layer/layer.js"></script>
<script src="${sysManagerV1}/js/supersized.3.2.7.min.js"></script>
<script src="${sysManagerV1}/js/supersized-init.js"></script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
	var msgg='<%=request.getAttribute("msg")%>';
	var code='<%=request.getAttribute("code")%>';
	$(function(){
        $("#hardCode").val(returnCitySN["cip"]);
		  if( code== 1){
			  layer.msg(msgg);
		  }
	});
	$(function reLoad(){
	      if(window.parent.location.href!=window.location.href){
	          var errCode="";
		      if($.trim('${param.errCode}')!=''){
				   errCode='${param.errCode}';
				}
			  if($.trim('${errCode}')!=''){
					errCode='${param.errCode}';
				} 
	          if($.trim(errCode)!=''){
	            errCode = "&errCode="+errCode;
	          }
	          window.parent.location.href='/';
	      }
   	});
    function popup_msg(msg) {
        $(".popup").html("" + msg + "");
        $(".popupDom").animate({
            "top": "0px"
        }, 400);
        setTimeout(function () {
            $(".popupDom").animate({
                "top": "-40px"
            }, 400);
        }, 2000);
    }
	
	 $(".login-input, .inputcode").focus(function(){
		    $(this).parents(".login-form-row").addClass("focus")
		  }).blur(function(){
		    if($(this).val()==""||$(this).val()==null){
		      $(this).parents(".login-form-row").removeClass("focus")
		    }
		  }) 
</script>
</html>